//
// Created by wkm on 2023-12-05.
//

#include "gt.h"

void gt::prc_gt() {
    sc_uint<WIDTH> atemp, btemp;

    atemp = a.read();
    btemp = b.read();

    z = sc_uint<WIDTH>(atemp.range(WIDTH / 2 - 1, 0)) > sc_uint<WIDTH>(btemp.range(WIDTH, WIDTH / 2));
}